home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / mailers / msgs1211.zip / RUNBBS.BAT < prev   
DOS Batch File  |  1992-03-09  |  2KB  |  62 lines

  1. @Echo off
  2. Rem This is a sample Fido 12 batch file, showing the use of MsgScan and
  3. Rem other fine utilities...
  4. :main
  5. Fido
  6.         if errorlevel 31 goto end
  7.         if errorlevel 30 goto exitnorm
  8.         if errorlevel 20 goto out
  9.         if errorlevel 11 goto msgtrim
  10.         if errorlevel 10 goto msgbye
  11.         if errorlevel 9 goto packecho
  12.         if errorlevel 8 goto msgecho
  13.         if errorlevel 7 goto msgmail
  14.         if errorlevel 0 goto exitnorm
  15.         goto main
  16. :out
  17. Rem   Ct is CommTrap a carrier detect utility available from G. K. Pace
  18. Rem   AutoLog is a "return to main prompt" utility by G. K. Pace
  19.  
  20.         Ct 2
  21.         ctty Com2  > Nul
  22.         c:\Command.com
  23.         ctty con
  24.         AutoLog
  25.          if errorlevel 1 goto end
  26.         Ct D
  27.         goto main
  28. :msgtrim
  29.         msgmgr
  30. :packecho
  31. Rem  Confmail is a fine Echo-msg processing utility by Bob Hartman
  32. Rem  NetInfo is a Net database utility by G. K. Pace
  33. Rem  Encrypt is a file encryption utility by G. K. Pace
  34.  
  35.         Confmail Export Areas.bbs -K -R -NF -D c:\fido\echo -A PKarc -a >> ArcMail.log
  36.         NetInfo c:\fido\netmsg c:\fido\netfiles >> Fido.log
  37.                 if errorlevel 10 goto enboth
  38.                 if errorlevel 8  goto entxt
  39.                 if errorlevel 2  goto enlst
  40.                 if errorlevel 0  goto main
  41. :enboth
  42.         Encrypt c:\fido\netfiles\netinfo.lst  > Nul
  43. :entxt
  44.         Encrypt c:\fido\netfiles\netinfo.txt  > Nul
  45.         goto main
  46. :enlst
  47.         Encrypt c:\fido\netfiles\netinfo.lst  > Nul
  48.         goto main
  49. :msgecho
  50.         Confmail Import areas.bbs -K -M -S -A Pkxarc >> ArcMail.log
  51.         MsgScan Welcome3.bbs Msgecho.ctl e >> Fido.log
  52.         copy welcome3.bbs bulletin.2 > Nul
  53. :msgmail
  54. :msgbye
  55.         MsgScan welcome2.bbs Msgbye.ctl h >> Fido.Log
  56.         copy welcome2.bbs Bulletin.1 > Nul
  57.         goto  main
  58. :end
  59. Rem  Boot is a cold boot utility by G. K. Pace
  60.         Boot
  61. :exitnorm
  62.